import { Component, OnInit, Input } from '@angular/core';
import { TagData } from "../../../../entity/tag-data.model";

@Component({
  selector: 'app-turbine-detail-tooltip',
  templateUrl: './turbine-detail-tooltip.component.html',
  styleUrls: ['./turbine-detail-tooltip.component.css']
})
export class TurbineDetailTooltipComponent implements OnInit {
  @Input() title: string;
  @Input() data: TagData[];
  @Input() icon: Images;
  @Input() switchingValue1: string;
  @Input() switchingValue2: string;
  constructor() {
  }

  ngOnInit() {
  }

}

interface Images {
  icon?: string;
  iconHover?: string;
  titleImage?: string;
  bgImage?: string;
}



// WEBPACK FOOTER //
// ./src/app/module/monitor/turbine-detail/turbine-detail-tooltip/turbine-detail-tooltip.component.ts